.class Lcom/estrongs/android/ui/pcs/i$a;
.super Ljava/lang/Object;
.source "PcsUpgradeViews.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/pcs/i;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/widget/EditText;

.field final synthetic b:Landroid/widget/EditText;

.field final synthetic c:Lcom/estrongs/android/ui/pcs/i;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/pcs/i;Landroid/widget/EditText;Landroid/widget/EditText;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    iput-object p2, p0, Lcom/estrongs/android/ui/pcs/i$a;->a:Landroid/widget/EditText;

    iput-object p3, p0, Lcom/estrongs/android/ui/pcs/i$a;->b:Landroid/widget/EditText;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3

    .line 1
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->a:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/ui/pcs/i$a;->b:Landroid/widget/EditText;

    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    .line 3
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_4

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_0

    goto :goto_1

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {v0, p1}, Lcom/estrongs/android/ui/pcs/i;->a(Lcom/estrongs/android/ui/pcs/i;Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {p1}, Lcom/estrongs/android/ui/pcs/i;->a(Lcom/estrongs/android/ui/pcs/i;)Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1107f3

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 6
    :cond_1
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v2, 0x6

    if-lt v0, v2, :cond_3

    invoke-static {p2}, Landroid/text/TextUtils;->isDigitsOnly(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    goto :goto_0

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {v0, p1}, Lcom/estrongs/android/ui/pcs/i;->d(Lcom/estrongs/android/ui/pcs/i;Ljava/lang/String;)Ljava/lang/String;

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {p1, p2}, Lcom/estrongs/android/ui/pcs/i;->f(Lcom/estrongs/android/ui/pcs/i;Ljava/lang/String;)Ljava/lang/String;

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {p1}, Lcom/estrongs/android/ui/pcs/i;->o(Lcom/estrongs/android/ui/pcs/i;)V

    .line 10
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    goto :goto_2

    .line 11
    :cond_3
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {p1}, Lcom/estrongs/android/ui/pcs/i;->a(Lcom/estrongs/android/ui/pcs/i;)Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1107b0

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 12
    :cond_4
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/ui/pcs/i$a;->c:Lcom/estrongs/android/ui/pcs/i;

    invoke-static {p1}, Lcom/estrongs/android/ui/pcs/i;->a(Lcom/estrongs/android/ui/pcs/i;)Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1107a6

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :goto_2
    return-void
.end method
